- if session[:user]==nil 
  - cache("list."+session[:loadedsettings]["theme"]+"."+session[:language]) do
    - for @media in @medias
      = render :partial => 'post'
- else
  - for @media in @medias
    = render :partial => 'post'
